package com.brunogb.pages.database.repository;

import java.util.List;

import com.brunogb.pages.exceptions.RepositoryException;
import com.brunogb.pages.server.model.Page;
import com.google.appengine.api.datastore.Key;

public class PageRepository extends BaseRepository<Page>{

	@Override
	public int count() throws RepositoryException {
		return count(Page.class);
	}

	@Override
	public Page find(Object id) throws RepositoryException {
		return find(id,Page.class);
	}

	@Override
	public List<Page> findAll() throws RepositoryException {
		return findAll(Page.class);
	}

	@Override
	public Page find(Key id) throws RepositoryException {
		return super.find(id,Page.class);
	}

}
